package com.gzx.tjzy.feign;

import com.gzx.tjzy.feign.resp.call.receipt.GzxCallReceiptDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import vip.xiaonuo.common.consts.FeignConstant;

import java.util.List;

/**
 * @author zjt
 */
@FeignClient(name = FeignConstant.BIZ_APP, contextId = "TjzyCallReceiptFeign")
public interface GzxCallReceiptFeign {

    @RequestMapping("/feign/tjzy/call/receipt/getCallReceiptByCallIdList")
    List<GzxCallReceiptDto> getCallReceiptByCallIdList(List<String> callIdList);

    @RequestMapping("/feign/tjzy/call/receipt/updateApproveStatus")
    void updateApproveStatus(@RequestParam String callId,@RequestParam Integer status);
}
